package org.linlinjava.litemall.db.service;

import org.linlinjava.litemall.db.domain.LitemallGroupon;
import org.linlinjava.litemall.db.domain.LitemallGrouponRules;
import org.springframework.stereotype.Service;

import java.util.List;

public interface LitemallRouponRulesService {

    List<LitemallGrouponRules> getAll(Integer code,Integer page,Integer pageSize);

    boolean addRules(LitemallGrouponRules rules);

    boolean update(LitemallGrouponRules rules);

    boolean delete(LitemallGrouponRules rules);

    LitemallGrouponRules getRules(Integer id);

}
